class VideoInvitationModel {
  String token;
  String nickname;
  String head;
  int inv;
  int id;
  int room;

  VideoInvitationModel(
      {this.token, this.nickname, this.head, this.inv, this.id, this.room});

  VideoInvitationModel.fromJson(Map<String, dynamic> json) {
    token = json['token'];
    nickname = json['nickname'];
    head = json['head'];
    inv = json['inv'];
    id = json['id'];
    room = json['room'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['token'] = this.token;
    data['nickname'] = this.nickname;
    data['head'] = this.head;
    data['inv'] = this.inv;
    data['id'] = this.id;
    data['room'] = this.room;
    return data;
  }
}
